<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="js-css../library/style.css" type="text/css" rel="stylesheet" />
<style type="text/css" media="screen">
	div.taskbar {
		margin:0px;
		padding: 0px;
	}
	div.taskbar-sort ul {
		float: left;
		list-style: none;
		margin: 0px;
		padding: 10px 0px;
		width: 100%;
	}

	div.taskbar-sort ul li {
		float: left;
		position: relative;
	}

	div.taskbar-sort li a {
		color: white;
		text-decoration: none;
		padding: 7px 7px 0px 7px;
		display: block;
	}
	div.taskbar-sort li a span{
		borer:0px;
	}

	div.taskbar-sort li a:hover {
		color: black;
		background: white;
		}

	div.taskbar-sort li ul {
		position: absolute;
		display: none;
		width: 7em;
		margin-top: 30px;
		background: #444950;

	}

	div.taskbar-sort li:hover ul {
		display: block;
		}

	div.taskbar-sort ul li ul li {
		width: 7em;
		margin-top: 2px;
		background: #444950;
	}
	div.taskbar-sort ul li ul li:hover {
		background: white;
	}
	div.taskbar-sort ul li ul li a {
		color: white;
		line-height: 28px;
		text-decoration: none;
		display: block;
	}
</style>
<center>
		<div id="taskbar">
			<div class="taskbar">
				<div class="taskbar-sort">
					<ul>
						<li><a href="index.php" ><span>Trang chủ</span></a></li>
						<li><a href="?thamso=quanly" ><span>Sản phẩm</span></a></li>
						<li><a href="?thamso=loai" ><span>Loại máy</span></a></li>
						<li><a href="?thamso=hang" ><span>Hãng máy</span></a></li>
						<li><a href="?thamso=tin_km" ><span>Khuyến mại</span></a></li>
						<li><a href="?thamso=tin_tuc"><span>Tin tức</span></a></li>
						<li><a href="?thamso=thanhvien" ><span>Nhân viên</span></a></li>
						<li><a href="?thamso=xuat_mot_tin"><span>Giới thiệu & Hướng dẫn</span></a></li>
						<li><a href="?thamso=gop_y"><span>Góp ý</span></a></li>
						<li><a href="#"><span>Đơn hàng</span></a>
							<ul>
								<li><a href="?thamso=don_dat_hang"><span>Đơn đặt hàng</span></a></li>
								<li><a href="?thamso=hoa_don"><span>Hóa Đơn</span></a></li>
							</ul>
						</li>
						<li><a href="#"><span>Thống Kê</span></a>
							<ul>
								<li><a href="?thamso=thong_ke"><span>Sản Phẩm Bán Chạy</span></a></li>
								<li><a href="?thamso=doanh_so"><span>Doanh số bán ra</span></a></li>
							</ul>
						</li>
						<li><a href="?thamso=thoat"><span>Thoát</span></a></li>
					</ul>
				</div>
				<div class='clr'></div>
			</div>
		</div>
		<div style="height:30px"></div>
		<div style=" width:100%">
			<h1 style="color:RED;">QUẢN LÝ CỬA HÀNG MÁY TÍNH</h1>
			<table width="100%" height="100%" align="center" cellpadding="0" cellspacing="2" class="box">
			  
				<tr>    
					<td height="21" colspan="2" align="right" valign="top" background="../hinhanh/chung/top_menu.gif"><marquee direction="left"><?php
					/*if( $_SESSION['quyenuser']=='ql'){
						$t='quản lý';
					}else{
						$t='nhân viên';
					}*/
						echo "Xin chào  <font color=blue>".$_SESSION['ky_danh__hhh']."</font>.Chúc bạn một ngày tốt lành!";?></marquee>
					</td>
				</tr>
			   
				<tr>
					 <td>
					 	<?php
							switch($_GET['thamso'])
							{	
								//case "themsp":
									//include("xuly/them_sp/them_sp.php");
								//break;
								case "quanly":
									include("xuly/san_pham/quan_ly.php");
								break;
								case "themsp2":
									include("xuly/san_pham/them.php");
								break;
								case "suasp":
									include("xuly/san_pham/sua.php");
								break;
								case "xoasp":
									include("xuly/san_pham/xoa.php");
								break;
								case "tim_kiem":
									include ("xuly/san_pham/xuattk.php");
								break;
								//////////						
								case "hang":
									include("xuly/hang/quan_ly.php");
								break;
								case "themhang":
									include("xuly/hang/them_hang.php");
								break;
								case "suah":
									include("xuly/hang/sua.php");
								break;
								case "xoah":
									include("xuly/hang/xoa.php");
								break;
								////////////
								case "loai":
									include("xuly/loai/quan_ly.php");
								break;
								case "themloai":
									include("xuly/loai/them_loai.php");
								break;
								case "sual":
									include("xuly/loai/sua.php");
								break;
								case "xoal":
									include("xuly/loai/xoa.php");
								break;		
								
								
								
								/////// xuất các thông tin km, hd, 
								case "xuat_mot_tin":
									include("xuly/xuat_mot_tin/quan_ly.php");
								break;
								case "suatt":
									include("xuly/xuat_mot_tin/sua.php");
								break;
								/////////	
								/////// Thành viên
								case "thanhvien":
									include("xuly/thanhvien/quan_ly.php");
								break;
								case "themtv":
									include("xuly/thanhvien/them_tv.php");
								break;
								case "suatv":
									include("xuly/thanhvien/sua.php");
								break;
								case "xoatv":
									include("xuly/thanhvien/xoa.php");
								break;	
								/////// Hóa đơn
								case "hoa_don":
									include("xuly/hoa_don/quan_ly_hd.php");
								break;
								case "xem_hd":
									include("xuly/hoa_don/xem_hd.php");
								break;
								case "xoa_hd":
									include("xuly/hoa_don/xoa_hd.php");
								break;
								case "don_dat_hang":
									include("xuly/hoa_don/ql_don_dat_hang.php");
								break;	
								/////////	
								///////tin tức
								case "tin_tuc":
									include("xuly/tin_tuc/quan_ly_tt.php");
								break;
								case "sua_tt":
									include("xuly/tin_tuc/sua_tt.php");
								break;
								case "xoa_tt":
									include("xuly/tin_tuc/xoa_tt.php");
								break;		
								case "them_tt":
									include("xuly/tin_tuc/them_tt.php");
								break;
								
								/////////	
								///////khuyến mại
								case "tin_km":
									include("xuly/khuyen_mai/quan_ly_km.php");
									break;
								case "sua_km":
									include("xuly/khuyen_mai/sua_km.php");
									break;
								case "xoa_km":
									include("xuly/khuyen_mai/xoa_km.php");
									break;		
								case "them_km":
									include("xuly/khuyen_mai/them_km.php");
								break;
								///////////góp ý
								case "gop_y":
									include("xuly/gop_y/quan_ly_gy.php");
									break;
								case "xoa_gy":
									include("xuly/gop_y/xoa_gy.php");
									break;
								////////// thống kê
								case "thong_ke":
									include ("xuly/thongke/thongke.php");
									break;
									case "doanh_so":
									include ("xuly/thongke/doanh_so.php");
									break;
								default:
									echo "<center><h1 style='color:GREEN;'>Chào bạn đến trang Control Panel Shop Máy Tính</h1></center>";
									break;
							}
						?>
					</td>
				</tr>
				<tr>
					<td height="18" colspan="2">
						<div align="left"><font face="Times New Roman" color="BLUE" size="3">
							&#9658; Copyright ©2013
							</font>
							<hr />
							<font face="Times New Roman" color="GREEN" size="3">
							&#9658;
							</font>
						</div>
					</td>
				</tr>
			</table>
		</div>
</center>